package com.xinxing.city.recovery.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.xinxing.city.recovery.R;

public class SetAbilityActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_set_ability);
    }
    //跳转下级页面
    public void urlTz(View view) {
        String jt = view.getTag().toString();

        if(jt.equals("ability_icjt")) { //IC卡交投
            Toast.makeText(this,"尚未开启",Toast.LENGTH_SHORT).show();
            return ;
        }

        Intent intent = new Intent(this, SetAbilityConActivity.class);
        intent.putExtra("id",jt);
        startActivity(intent);
    }

    //跳转通知页面
    public void urlTzNotice(View view) {
        Intent intent = new Intent(this, SetAbilityNoticeActivity.class);
        startActivity(intent);
    }
}
